import random
import time


def random_char():
    t = random.randint(65, 90)
    return chr(t)

def random_string(length):
    s = ""
    for i in range(length):
        s += random_char()
    return s


def main():
    a = []
    for i in range(20):
        a.append(random_string(random.randint(3,6)))
    print(a)


# 获取当前时间
def get_time():
    return time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())


main()